<!-- HEADER -->
<div id="header-wrapper">
    <div id="header">
        <div id="header-inner">
            <div class="container">
                <div class="navbar">
                    <div class="navbar-inner">
                        <div class="row">
                            <div class="logo-wrapper span6">
                                <a href="#nav" class="hidden-desktop" id="btn-nav">Toggle navigation</a>

                                <div class="logo">
                                    <a href="/" title="Home">
                                        <img src="/themes/realia/img/logo.png" alt="Home">
                                    </a>
                                </div><!-- /.logo -->

                                <div class="site-name">
                                    <a href="/" title="Home" class="brand">FlatRent</a>
                                </div><!-- /.site-name -->

                                <div class="site-slogan">
                                    <span>Сервис посуточной aренды</br>квартир в Украине №1</span>
                                </div><!-- /.site-slogan -->
                            </div><!-- /.logo-wrapper -->
                            <?php  /*
                            <div class="info">
                                <div class="site-email">
                                    <a href="mailto:info@byaviators.com">info@flatrent.in.ua</a>
                                </div><!-- /.site-email -->
                                <!--
                                <div class="site-phone">
                                    <span>+3(063)373-05-66</span>
                                </div><!-- /.site-phone -->
                                
                            </div><!-- /.info -->
                            */ ?>
                            <?php if (Yii::app()->user->isGuest) { 
                                echo CHtml::link('Личный кабинет', array('/user/login'), array('class'=>'btn btn-primary btn-large list-your-property arrow-right'));
                            } else {
                                echo CHtml::link('Добавить объявление', array('/flat/flat/create'), array('class'=>'btn btn-primary btn-large list-your-property arrow-right'));
                            }?>
                            
                        </div><!-- /.row -->
                    </div><!-- /.navbar-inner -->
                </div><!-- /.navbar -->
            </div><!-- /.container -->
        </div><!-- /#header-inner -->
    </div><!-- /#header -->
</div><!-- /#header-wrapper -->